package com.dd.cloud.user.service.sms;

import com.netflix.client.http.HttpRequest;

import javax.servlet.http.HttpServletRequest;

/**
 * @author zk
 */
public interface ISmsService {
    /**
     * 发送验证码
     *
     * @param phone
     * @param flag
     */
    void sendCode(String phone, Integer flag, HttpServletRequest request,String key ,String code,Integer type);

    /**
     * 验证短信验证码
     *
     * @param phone
     * @param code
     * @param flag
     */
    void verifyCode(String phone, String code, Integer flag);

    /**
     * 发送处方订单发货短信给医生
     *
     * @param tencode
     * @param docId
     * @param pName
     * @param expressNo
     * @param expressName
     */
    void sendDeliveryPres(String tencode, Integer docId, String pName, String expressNo, String expressName);
}
